<?php

namespace app\qsapi\controller;

use app\qsapi\service\ReportService;
use think\response\Json;

class Report extends BaseController
{

    /**
     * 举报原因配置表
     * @return Json
     */
    public function reportList(): Json
    {
        $reportService = new ReportService();
        return json($reportService->getReportType());
    }

    /**
     * 举报
     * @return Json
     */
    public function report(): Json
    {
        $reportService = new ReportService();
        return json($reportService->report());
    }


}
